import { Component, PropsWithChildren } from 'react'
import './app.scss'
import Taro from '@tarojs/taro'
import './style/background.scss'
import './style/button.scss'
import './style/card.scss'
import './style/title.scss'

class App extends Component<PropsWithChildren> {

  componentDidMount() {
    Taro.cloud.init({ traceUser: true });
    console.log("App Did Mount.");
  }

  componentDidShow() { }

  componentDidHide() { }

  render() {
    // this.props.children 是将要会渲染的页面
    return this.props.children
  }
}

export default App
